package office.service.hr;

import java.util.List;

import office.action.hr.form.CarriageManageForm;
import platform.common.exception.BusinessException;

public interface ICarriageManageService {
	
	/**
	 * 根据状态获取车辆信息
	 * @param state
	 * @return
	 * @throws BusinessException
	 */
	public List getCarriageManageByState(String state) throws BusinessException;

	/**
	 * 获取车辆信息
	 * @return
	 * @throws BusinessException
	 */
	public List getCarriageManageList() throws BusinessException;
	/**
	 * 编辑车辆
	 * @throws BusinessException
	 */
	public void editCarriageManage(CarriageManageForm objctForm)throws BusinessException;
	/**
	 * 根据id获取对象
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public CarriageManageForm getById(String id)throws BusinessException;
	/**
	 * 根据id删除对象
	 * @param id
	 * @throws BusinessException
	 */
	public void deleteById(String id)throws BusinessException;
	/**
	 * 修改车辆状态
	 * @param state
	 * @throws BusinessException
	 */
	public void changeState(CarriageManageForm objctForm) throws BusinessException;
}
